var vm = new Vue({
    el:"#app",
    data:{
        searchText:"",
        
        searchArr:[
           "过桥米线","火锅","面条"
        ]
    },
    methods: {
        search(){
            if(this.searchText!=""){
                    console.log(this.searchText)
           this.searchArr.push(this.searchText)
           this.searchText=""
            }
       
        }
    },
})